<?php
//$settings = $shop->getGlobalSettings();
if(($shop->getSetting('show_cart') == 1) || (count($cart->Items) > 0)): ?>
<div class="module well">
	<div class="padding">
    	<h4 class="module title left"><?php echo ucfirst($txt->getWord('cart')); ?></h4>
<?php
$mod = new Module($katana, 49);
if(count($cart->getItems()) > 0)
{
	?>
	<form name="cart_form" id="cart_form" method="post" action="">
		<div class="cart_content">
			<?php if(count($cart->Items) > 0): ?>
			Det er&nbsp;<?php echo $cart->getCartItemsCount(); if($cart->getCartItemsCount() > 1) { echo '&nbsp;varer&nbsp;'; } else { echo '&nbsp;vare&nbsp;'; } ?>i&nbsp;handlekurven.
			<input id="empty_cart" name="empty_cart" value="0" type="hidden" /><br />
			<table class="">
				<tr> 
					<td><?php echo ucfirst($txt->getWord('price')); ?></td> 
					<td>&nbsp;&nbsp;&nbsp;&nbsp;</td>
					<td><?php echo number_format($cart->getAllItemsPrice(2),2,',',' '); ?> kr.</td>
				</tr>
				<tr>
					<td><?php echo $txt->getWord('vat'); ?></td>
					<td>&nbsp;</td>
					<td><?php echo number_format($cart->getAllItemsVat(2),2,',',' '); ?> kr.</td>
				</tr>
				<tr>
					<td class="underline"><?php echo ucfirst($txt->getWord('total')); ?></td>
					<td>&nbsp;</td>
					<td class="underline"><strong><?php echo number_format($cart->getAllItemsTotal(1),2,',',' '); ?> kr.</strong></td>
				</tr>
			</table><hr />
			<div class="icons">
				<a href="/c/15/" class="btn btn-block <?php echo $shop->getSetting('cart_btn_class'); ?>"><i class="fa fa-shopping-cart"></i>&nbsp;&nbsp;<?php echo ucfirst($txt->getWord('view_cart')); ?>&nbsp;&nbsp;</a>
				<a href="/c/16/" class="btn btn-block <?php echo $shop->getSetting('checkout_btn_class'); ?>"><i class="fa fa-credit-card"></i>&nbsp;&nbsp;<?php echo ucfirst($txt->getWord('proceed_to_checkout')); ?>&nbsp;&nbsp;&gt;&gt;</a>
			</div>
			<?php 
			if(is_file('files/images/NetsLogo.png'))
			{
				?>
				<p><br /><img src="/files/images/NetsLogo.png" /></p>
				<?php
			}
			?> 
			<?php else:  ?>
			<?php echo ucfirst($txt->getWord('your_cart_empty')); ?>
			<?php endif; ?>
		</div>
	</form>
<?php
}
?>
    </div>
</div><br clear="left" />
<?php endif; ?>